<?php
header("Content-type:text/html;charset=utf-8");
include "../functions.php";
include "../class/Model.class.php";
include "../class/Debug.class.php";//加载调试类
C(include "../config.inc.php");
$db = M("stu");
if($db->update(array(
	"sid"=>3,
	"sname"=>"张小玉",
	"birthday"=>"2012-2-15",
	"cid"=>3,
	"sdfsdf"=>333
))){
	echo "更新成功 ";
}else{
	echo "更新失败";
}
?>